SftTree/NET 2.0

EditAllowed Event, SftTree Class

Softel vdm, Inc.

Occurs to determine whether a cell can be reached for cell editing.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Event EditAllowed As EditAllowedEventHandler

C#   

public event EditAllowedEventHandler EditAllowed;

C++   

public: event EditAllowedEventHandler EditAllowed;

Event Data

The EditAllowed event handler receives an argument of type EditAllowedEventArgs containing data related to this event.

Comments

The EditAllowed event occurs to determine whether a cell can be reached for cell editing.

This event occurs while the while an EditNavigate method is processed, to determine whether a cell can be reached during cell editing. It is possible to suppress cell editing for items and cells using the ItemClass.EditIgnore and CellClass.EditIgnore properties. In addition, the EditAllowed event can be used to disallow editing of cells, even if the cell is otherwise editable.

If cell editing is suppressed for items and cells using the ItemClass.EditIgnore and CellClass.EditIgnore properties, the EditAllowed event does not occur for these items and cells.

Other than determining whether a cell can be reached during cell editing, this event should not take any other action or update the tree control in any way.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com